package com.example.midprojcampusspringboot.mapper;

//import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.midprojcampusspringboot.domain.entity.TManagerActivity;
import com.example.midprojcampusspringboot.domain.params.ActivityAddParams;
import org.springframework.stereotype.Repository;

//@Repository // 注解，标识这是一个持久层组件
public interface ActivityMapper extends BaseMapper<TManagerActivity> {
    /**
     * 添加活动
     **/
    int addActivity(ActivityAddParams params);
}
